package com.gistmap.service;

import com.gistmap.bean.Activity;
import com.gistmap.dto.ActivityDto;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/4/17.
 */
public interface ActivityService {

    Integer save(Activity activity);

    void join(Map map,Map map1);

    void joinSelf(Map map);

    List<ActivityDto> showAct(Map<String, Object> map);

    List<Integer> getJoinInfo(Integer uid);

    List<ActivityDto> showVisit(Integer uid);

    List<ActivityDto> getJoinAct(Integer uid);

    List<ActivityDto> allActs();

    int findId(String title);
}
